package com.gopay.common.util.xml.xmlutils.message.xml.vo;

import java.util.List;

import com.gopay.common.util.xml.xmlutils.message.Validator;

public class Field extends BFNode {

	// 样式
	private String style;
	// 生成属性还是元素 true element（默认）, false attribute
	private boolean isElement;
	// 校验器
	private List<Validator> validators;

	
	public boolean isElement() {
		return isElement;
	}

	public void setElement(boolean isElement) {
		this.isElement = isElement;
	}

	public List<Validator> getValidators() {
		return validators;
	}

	public void setValidators(List<Validator> validators) {
		this.validators = validators;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}
}